<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <script type="text/javascript">

        	var nian = parseInt(prompt("工作年限"));
        	var yue = parseInt( prompt("一月多少钱"));
        	
        </script>
    </head>
    <body>
    </body>
</html>